package grupobbva.pe.operhc.quartz;

import grupobbva.pe.operhc.service.DisclamerService;
import grupobbva.pe.operhc.service.DisclamerServiceImpl;

import org.apache.log4j.Logger;


 
public class SchedulerTask 
{

	private static Logger logger = Logger.getLogger(SchedulerJob.class);
	private DisclamerService disclamerService = null;
	
	public void executeJobCarga() {
		logger.info("Inicia executeJobCarga::JobDisclamer");		
		long ini = System.currentTimeMillis();
		disclamerService = new DisclamerServiceImpl();
		
		disclamerService.cargaDisclamerAutomatico(); 
		
		long fin = System.currentTimeMillis();
		if(logger.isDebugEnabled()) logger.debug("Tiempo total en Milisegundos: " + (fin - ini));
		logger.info("fin executeJobCarga::JobDisclamer");
	}


	


	
}